package com.zengdw.order.controller;

import com.zengdw.order.service.OrderTblService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zengdw
 * @createTime 2019/12/24 11:10
 */
@RestController
public class IndexController {
    @Resource
    private OrderTblService orderTblService;

    @PostMapping("/index")
    public void index() throws Exception {
        orderTblService.index();
    }
}
